/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.sys.service.mobile;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.sys.entity.mobile.Mobile;
import com.thinkgem.jeesite.modules.sys.dao.mobile.MobileDao;

/**
 * 号码归属Service
 * @author jin
 * @version 2018-04-16
 */
@Service
@Transactional(readOnly = true)
public class MobileService extends CrudService<MobileDao, Mobile> {

	public Mobile get(String id) {
		return super.get(id);
	}
	
	public List<Mobile> findList(Mobile mobile) {
		return super.findList(mobile);
	}
	
	public Page<Mobile> findPage(Page<Mobile> page, Mobile mobile) {
		return super.findPage(page, mobile);
	}
	
	@Transactional(readOnly = false)
	public void save(Mobile mobile) {
		super.save(mobile);
	}
	
	@Transactional(readOnly = false)
	public void delete(Mobile mobile) {
		super.delete(mobile);
	}

	public String getdq(String mobile){
		return dao.getdq(mobile);
	}
	
}